package com.tmptSource.service.intf;

import java.util.Map;

import com.tmpt.dto.Result;
import com.tmptSource.dto.*;

public interface IOwDoorRespInfoService {

	public Result<OwDoorRespInfoDto> pagination(OwDoorRespInfoDto owDoorRespInfoDto,PageDto pageDto);

	public Result<OwDoorRespInfoDto> pagination(OwDoorRespInfoDto owDoorRespInfoDto,PageDto pageDto,Map<String,Object> paramMap);

	public Result<OwDoorRespInfoDto> selectAll();

	public Result<OwDoorRespInfoDto> selectById(long id);

	public Result<OwDoorRespInfoDto> addData(OwDoorRespInfoDto owDoorRespInfoDto);

	//2019-11-24 新增图片功能 helen
	public Result<OwDoorRespInfoDto> addDataByQRCode(OwDoorRespInfoDto owDoorRespInfoDto);

	public Result<OwDoorRespInfoDto> editData(OwDoorRespInfoDto owDoorRespInfoDto);

	public Result deleteById(long id,String adminMan);

	public long selectIdByKey(String key);

	//根据企业名称查询randomKey helen
	public long selectIdByEntName(String entName);
	public long selectCountByEntName(String entName);

}
